﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="LoadSettingsOptionsDialog.cs" company="Roman '4ux-nbIx' Novitsky">
//   Copyright (c) Roman '4ux-nbIx' Novitsky 2009
// </copyright>
// <summary>
//   Defines the SettingsSelectorOptionsDialog type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace SettingsManager
{
  #region Namespace Imports

  using System.Collections.Generic;
  using System.Windows.Forms;

  using ComponentSettingsManagers;

  using JetBrains.Annotations;

  #endregion


  /// <summary>
  /// Describes and manipulates the settings selector options dialog.
  /// </summary>
  internal sealed partial class LoadSettingsOptionsDialog : Form
  {
    #region Constructors and Destructors

    /// <summary>
    /// Initializes a new instance of the <see cref="LoadSettingsOptionsDialog"/> class.
    /// </summary>
    public LoadSettingsOptionsDialog()
    {
      InitializeComponent();
    }

    #endregion


    #region Properties

    /// <summary>
    /// Gets or sets the selected settings managers.
    /// </summary>
    /// <value>
    /// The selected settings managers.
    /// </value>
    [NotNull]
    internal IEnumerable<IComponentSettingsManager> SelectedSettingsManagers
    {
      get
      {
        return _settingsList.SelectedSettingsManagers;
      }

      set
      {
        _settingsList.SelectedSettingsManagers = value;
      }
    }

    #endregion
  }
}